<?php 

include'../classes/db.php';
$nic=$_GET['nic'];

$x=new DbConnect();
$con=$x->getConnection();
  
$result= mysql_query("Select nic from employee where nic='$nic'",$con);
$nof=mysql_num_rows($result);
   if($nof==0)
   {
   echo"false";
   } 
   else
   {
   echo"true";
   }
?>